// 筛选器数据结构
export interface Filter{
  filterName: string;
  filterType: string;
  id: number;
  isCurrent?: boolean;
  isSystem: number;
  selected: number;
  filterAttrs?:Attr[]
}
// 任一筛选项数据结构
export interface Attr{
  key: string;
  label?: string;
  show: boolean;
  value?: any[];
  isArray?: boolean;
}
// 当前活跃的筛选器
export interface TabPane {
  id: number;
  title: string;
  isSystem: number
}
export interface SelectedTab {
  id: number;
  title: string;
  select: boolean;
  isSystem: number;
  isCurrent?: boolean;
}
export interface Props{
  maxTab: number;
  labelWidth: number;
  canSaveFilter: boolean;
  isSaveLocal: boolean;
  defaultAttr: DefaultAttr;
  filterArr: Filter[];
  filterType: string;
}
export interface DefaultAttr{
  FILTERS:Attr[]
}
export interface FilterDB{
  name: string;
  conditionShow: boolean;
  data:Filter[]
}
